package com.alifi.crm.dal.guess;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.alifi.crm.dal.IbatisCRUDDAO;
import com.alifi.crm.dal.object.EmployeeGuessLogDO;


@SuppressWarnings("unchecked")
@Repository("employeeGuessLogDAO")
public class EmployeeGuessLogDAOImpl extends IbatisCRUDDAO<EmployeeGuessLogDO> implements EmployeeGuessLogDAO{

	@Override
	protected String getNamespace() {
		return "act_employee_guess_log";
	}
	
	@Override
	public List<EmployeeGuessLogDO> selectByEmployeeNum(String employeeNum) {
		Map<String,String> map = new HashMap<String,String>();
		map.put("employeeNum", employeeNum);
		return (List<EmployeeGuessLogDO>)this.getSqlMapClientTemplate().queryForList(this.genStmt("selectByEmployeeNum"),map);
	}
	
}
